package com.szw.dlyk.constant;


/**
 * @program: dlyk
 * @description: 常量
 * @author: Songzw
 * @create: 2024-01-21 19:53
 **/
public class Constant {

    public static final String LOGIN_URL = "/api/login";

    public static final String REDIS_JWT_KEY = "dlyk:user:login";

    public static final Long EXPIRE_TIME = 7 * 24 * 60 * 60L;

    public static final Long DEFAULT_EXPIRE_TIME = 30 * 60L;

    /**
     * 分页每页显示10条数据
     */
    public static final int PAGE_SIZE = 10;

    public static final String TOKEN_NAME = "Authorization";

    /**
     *edis中负责人的key
     */
    public static final String REDIS_OWNER_KEY = "dlyk:user:owner";

    public static final String EXCEL_FILE_NAME = "客户信息数据";

    public static final String EMPTY = "";

    public static final String EXPORT_EXCEL_URI = "/api/exportExcel";
}
